/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package lansupportclient;

import java.awt.AWTException;
import java.awt.Robot;

/**
 *
 * @author Cong
 */
public class KeyboardController {
    
    private Robot robot;
    
    public KeyboardController () throws AWTException{
        this.robot = new Robot();
    }
    public void KeyPress (long keycode) {
        robot.keyPress((int)keycode);
    }
    public void KeyRelease (long keycode) {
        robot.keyRelease((int)keycode);
    }
}
